package c.x.jy.service.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import c.x.jy.common.utils.PageUtils;
import c.x.jy.dao.entity.OrderAwnserEntity;

import java.util.List;
import java.util.Map;

/**
 * 咨询内容表  包括 所有聊天记录，问题 咨询 记录
 *
 * @author amwhyh
 * @email xxx@xx.com
 * @date 2021-05-25 10:50:05
 */
public interface OrderAwnserService extends IService<OrderAwnserEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<OrderAwnserEntity> getByOrderId(Long orderId);

    List<OrderAwnserEntity> getReaskList(OrderAwnserEntity orderAwnser);


    void reask(OrderAwnserEntity orderAwnser);

    OrderAwnserEntity selectOne(QueryWrapper<OrderAwnserEntity> query);
}


